package com.nursinghome.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Category {
    private Integer id;
    private String name;
    private Integer parentId;
    private String description;
    private Integer categoryType;
    private Integer status;
    private Integer isDelete;
    // 子分类
    private List<Category> children;
    // 分类下有多少菜品
    private List<Goods> dishesList;
}
